package com.springcloud.xxkfz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.springcloud.xxkfz.entity.Account;
import com.springcloud.xxkfz.mapper.AccountMapper;
import com.springcloud.xxkfz.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> implements AccountService {

    @Autowired
    private AccountMapper accountMapper;

    @Override
    public List<Account> getAccountList() {
        List<Account> accountList = accountMapper.selectList(null);
        return accountList;
    }
}
